package com.hspud.enum_.HomeWorrk06;

public class VehiclesFactory {
    public static House house = new House();

    private VehiclesFactory() {}

    public static House getHouse() {
        //return new House();
        return house;
    }
    public static Boat getBoat() {
        return new Boat();
    }
    public static fly getFly() {
        return new fly();
    }
}
